package com.maxd.service.helpTask;

import com.maxd.model.HelpGetTask;
import com.maxd.model.UserInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

public interface IHelpGetTaskeSrvice {

    HelpGetTask saveBody(Long helpTaskPlatformId,Long userId);

    HelpGetTask updateHelpGetTaskById(HelpGetTask helpGetTask);

    Page<Map<String,Object>> selectUnderwayHelpGetTaskList(Pageable pageable);

    void deleteHelpGetTaskById(Long id);

    void deleteHelpGetTaskByIds(String ids);

    Map<String,Object> selectHelpTaskPlatform(Long id);

    Page<Map<String,Object>> selectHelpGetTaskList(Pageable pageable, Long userId,Integer state);

    Map<String,Object> selectHelpGetTaskById(Long id,Long userId);

    Page<Map<String,Object>> selectHelpGetTaskList(Pageable pageable);

    int auditHelpGetTask(String ids,Integer state,String auditContent);

    HelpGetTask selectById(Long id);

    Integer selectCount(Long id,Long userId);

    int updateLuckys(UserInfo userByWxId);

    int updateLucky(UserInfo userByWxId);

    int  helpGetTaskRemind(Long id);

    int exitHelpGetTask(Long id);
}
